package com.Brave.manager.Demo05;

public class Demo07 {
    public static void main(String[] args) {
        Thread1 t1 = new Thread1();
        Thread2 t2 = new Thread2();

        Thread T1 = new Thread(t1,"进程11");
        Thread T2 = new Thread(t2,"进程22");

        T2.setDaemon(true);

        T1.start();
        T2.start();
    }
}
